const connections = require('../app/database')
class HomeService {
  async getLikeData() {
    const statement = 'SELECT * FROM `goods-info`'
    const result = await connections.execute(statement)
    return result[0]
  }
}

module.exports = new HomeService()